// VolDia.h : main header file for the VOLDIA application
//

#if !defined(AFX_VOLDIA_H__0714B516_B5FF_4293_8A5B_9EB9188B8A68__INCLUDED_)
#define AFX_VOLDIA_H__0714B516_B5FF_4293_8A5B_9EB9188B8A68__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols
#include "voldiadlg.h"

// TNT include
#include "TenoreApiInt.h"
//#include "apint.h"
#include "sysprm.h"
#include "apmstype.h"
#include "apmsapi.h"
#include "mmi1090.h"

#include "Tianwan.h"
#include "Mov_Tianwan.h"
#include "Uti_Tianwan.h"
#include "Twn_SafeChecks.h"
#include "Twn_ManBeeper.h"
#include "Twn_ObjectMover.h"
#include "Twn_SpSetter.h"

#define WM_DIALOG_ACTIVATION WM_USER + 128

#define CH_MOD_SEL_IDX		1
#define CONTAINER_SEL_IDX	2
#define ELEM_MOVE_IDX		3
#define MAIN_MAS_SEL_IDX	4
#define PHASE_EXEC_IDX		5
#define PHASE_PERM_IDX		7
#define POS_INFO_IDX		8
#define CAMPAIGN_IDX		9
#define REPORT_IDX			10
#define TECH_CYCLE_IDX		11
#define DB_OP_IDX			12
#define Z_AXIS_PAGE_IDX		13
#define	ACAD_ACTIVATION		14
#define ACAD_QUIT			15
#define STOP_TRACKER_IDX	16	
#define MAST_TRACKER_IDX	17	
#define CELL_PICKER_IDX		18
#define MAST_INFO_IDX		19	
#define OBJ_MOV_IDX			20
#define OBJ_SIM_CTRL		21
#define RESET_TAJECTORIES	22
#define OPEN12				23
#define OPEN23				24
#define MAINT				25
#define TUNE_INFI			26
#define	CONF_SAVE			27
#define WATER_LEVEL			28
#define ZI_CHANGE_PAGE		29
#define MAKE_Z3_SPENT		30
#define EMPTY_Z1_CONT		31

#define WAIT_FOR_PLANNING	1
#define WAIT_FOR_REPORT		2
#define WAIT_FOR_TECCYC		3

#define PROG_TERM_OK		1
#define PROG_TERM_NOOK		0

#define OP_MON_SLEEP		2000
/////////////////////////////////////////////////////////////////////////////
// CVolDiaApp:
// See VolDia.cpp for the implementation of this class
//

class CVolDiaApp : public CWinApp
{
public:
	CVolDiaApp();
	HANDLE myMutex;
	CVolDiaDlg* m_pDlg;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVolDiaApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CVolDiaApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VOLDIA_H__0714B516_B5FF_4293_8A5B_9EB9188B8A68__INCLUDED_)
